package IC.AST;

import IC.Symbols.Symbol;

/**
 * 'This' expression AST node.
 * 
 * @author Tovi Almozlino
 */
public class This extends Expression {

    private Symbol symbolTableEntry;

	public Object accept(Visitor visitor) {
		return visitor.visit(this);
	}

	/**
	 * Constructs a 'this' expression node.
	 * 
	 * @param line
	 *            Line number of 'this' expression.
	 */
	public This(int line) {
		super(line);
	}

    public Symbol getSymbolTableEntry() {
        return symbolTableEntry;
    }

    public void setSymbolTableEntry(Symbol symbolTableEntry) {
        this.symbolTableEntry = symbolTableEntry;
    }
}
